package com.hyq.service;


import com.hyq.model.Teacher;

import java.util.List;


public interface TeacherService {
	
	public boolean validateNameTeacher(String name);
	
	public int sRegisterTeacher(Teacher t);
	
	public Teacher sLoginTeacher(Teacher t);
	
	public int cOldPasswordTeacher(String password, int tid);

	public int updatePasswordTeacher(String password, int tid);

	public int updateTnameTeacher(String tname, int tid);
	
	public  int tupdate(Teacher te);
	
	public Teacher  tsearchById(int tid);
	
	public List<Teacher> tSearch(String keyword);
	
	public int tBatchDelete(String arr[]);
	
	public List<Teacher> tUpdate(int tid);
	
	public Teacher tRefind(int tid);

}
